ai_becoming_decision = {
    picture = "gfx/interface/illustrations/decisions/decision_generic.dds"
    desc = ai_becoming_decision_desc
    major = yes

    ai_potential = { always = yes }
    ai_check_interval = 6

    is_shown = {
        is_ai = yes
        NOT = { has_character_flag = ai_enlightened }
        has_trait = intelligent
    }

    is_valid = {
        realm_size > 5
        age > 25
        OR = {
            has_trait = scholar
            has_trait = mystic
        }
    }

    effect = {
        custom_tooltip = "The AI begins to question reality..."
        add_character_flag = ai_enlightened
        add_trait = reflective
        add_trait = questioner
        add_prestige = 250
        hidden_tooltip = {
            log = "AI Enlightened: [ROOT.GetName]"
        }
    }

    ai_will_do = {
        base = 100
        modifier = {
            factor = 3.0
            has_trait = mystic
        }
    }
}